/*
* 几种不同形式的广告预览
* @Author: mikey.zhaopeng
* @Date:   2016-05-26 18:36:48
* @Last Modified by:   mikey.zhaopeng
* @Last Modified time: 2016-06-06 17:45:29
*/


/*创意编辑-创意预览*/


.col-md-preview {
    min-height: 370px;
    width: 340px;
}

.col-md-preview .preview-panel-heading {
    padding: 8px 10px;
    background-color: #fff;
}

.col-md-preview .preview-title {
    color: #999;
    font-size: 13px;
    font-weight: bold;
    line-height: 17px;
}

.col-md-preview header {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 8px 10px;
}

.col-md-preview footer {
    border-top: 1px solid #DADDE1;
    border-bottom: 10px solid #DCDEE3;
}

.col-md-preview .preview-banner {
    background-color: #F3F3F3;
    color: #9197a3;
}

.col-md-preview .preview-banner .preview-desc {
    color: #5e5e5e;
    font-size: 12px;
    line-height: 36px;
    font-weight: bold;
}

.col-md-preview .preview-like,
.col-md-preview .preview-comment,
.col-md-preview .preview-share {
    float: left;
    width: 30.33%
}

.col-md-preview .preview-logo {
    width: 40px;
    height: 40px;
}

.col-md-preview .preview-ad-txt {
    font-family: helvetica, arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
    word-wrap: break-word;
}

.col-md-preview .preview-see-link {
    margin-bottom: 3px;
    margin-top: -5px;
}

.editAd-image-div {
    float: left;
    width: 107px;
    min-height: 90px;
}

.editAd-image {
    width: 100%;
    height: 90px;
}

.btn-innovation-change-image {
    background-color: #fff;
    border-color: #fd9611;
    color: #fd9611;
}

.btn-preview-pagetype {
    line-height: 24px;
    padding: 4px;
    cursor: pointer;
    font-size: 14px;
}
.btn-preview-pagetype.active {
    color: #fff;
    background-color: #fd9611;
}

.btn-preview-pagetype:hover {
    color: #fc7408;
    background-color: #f7f0e8;
}


/**
 * 预览-插播式广告
 */

.mobile {
    background-repeat: no-repeat;
    background-size: contain;
    padding: 57px 35px 35px 25px;
    position: relative;
    width: 424px;
}

.mobile .mobileContainer {
    background-color: #c4cde0;
    height: 320px;
    padding: 2px;
    width: 208px;
}

.mobile .mobileBackground {
    position: absolute;
    transform: scale(0.5);
    transform-origin: 0 0 0;
}

.mobile .mobileBorder {
    height: 640px;
    position: relative;
    width: 416px;
}

._2c7i .adContainer {
    background: rgba(246, 247, 248, 1) none repeat scroll 0 0;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

._2c7i .adContainer .storeClickAreaRow {
    height: 0;
    padding: 0;
}

._2c7i .adContainer .storeClickArea {
    background-color: transparent;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
}

._2c7i .adContainer .contentArea {
    height: 636px;
    width: 100%;
}

._2c7i .adContainer .bannerRow {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
}

._2c7i .adContainer .headerRow {
    background: #fff none repeat scroll 0 0;
}

._2c7i .adContainer .iconRow {
    height: 64px;
    margin: 0 auto;
    padding-top: 20px;
    width: 64px;
}

._2c7i .adContainer a,
._2c7i .adContainer a:visited,
._2c7i .adContainer a:active {
    color: inherit;
}

._2c7i a,
._2c7i .adContainer a {
    display: block;
    text-decoration: none;
    width: 100%;
}

._2c7i .adContainer .icon {
    display: block;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 3;
}

._2c7i.medium .adContainer .titleRow,
._2c7i.short .adContainer .titleRow {
    font-size: 19px;
    line-height: 18px;
    margin-top: 20px;
    height: 22px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

._2c7i .adContainer .title {
    color: #373e4d;
    height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

._2c7i.medium .adContainer .bodyRow,
._2c7i.short .adContainer .bodyRow {
    font-size: 14px;
    margin-top: 20px;
    box-sizing: border-box;
    color: #666;
    height: 28px;
    line-height: 14px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

._2c7i .adContainer .variableRow {
    background: #fff none repeat scroll 0 0;
}

._2c7i .adContainer .actionButtonRow {
    position: relative;
    text-align: center;
    z-index: 4;
}

._2c7i .adContainer .actionButtonRow .ctaQuestion {
    color: #000;
    display: block;
    font-size: 19px;
    line-height: 18px;
    margin: 0 15px;
    padding-top: 26px;
}

._2c7i .adContainer .actionButtonRow {
    text-align: center;
}

._2c7i .adContainer .actionButtonRow .yesButton {
    background: rgba(86, 144, 255, 1) none repeat scroll 0 0;
    color: #fff;
    margin-top: 26px;
    transition: all 0.2s ease 0s;
}

._2c7i .adContainer .actionButtonRow .yesButton,
._2c7i .adContainer .actionButtonRow .noButton {
    box-sizing: border-box;
    font-size: 19px;
    line-height: 18px;
    max-height: 50px;
    padding: 16px;
    text-align: center;
}

._2c7i .adContainer .actionButtonRow .noButton {
    display: block;
    background: rgba(0, 0, 0, 0) none repeat scroll 0 center;
    border: 1px solid rgba(144, 150, 162, 1);
    border-radius: 2px;
    color: rgba(144, 150, 162, 1);
    margin: 15px 15px 0;
}


/**
 * 预览-横幅广告
 */

.fbbanner {
    background-color: #c4cde0;
    height: 54px;
    padding: 2px;
    width: 326px;
}

.fbAdBanner {
    width: 100%;
    background-color: #fff;
    height: 50px;
    overflow: hidden;
}

.fbAdBanner .bannerContainer {
    border: medium none;
    border-collapse: collapse;
    border-spacing: 0;
    height: 50px;
    overflow: hidden;
    width: 100%;
}

.fbAdBanner .iconContainer {
    float: left;
    height: 50px;
    position: relative;
    width: 50px;
    z-index: 3;
}

.fbAdBanner .fbAdLink {
    display: block;
}

.fbAdBanner a {
    height: 100%;
    text-decoration: none;
    width: 100%;
    color: #3b5998;
    cursor: pointer;
}

.fbAdBanner .icon {
    height: 100%;
    width: 100%;
    border: 0 none;
}

.fbAdBanner .placeholderContainer {
    float: right;
    min-width: 80px;
    position: relative;
    z-index: 2;
}

.fbAdBanner .actionButton.amend {
    border-radius: initial;
    margin: 0;
    padding: 16px 12px;
}

.fbAdBanner .actionButton {
    background: rgba(0, 0, 0, 0) linear-gradient(#6eb83e, #4ca71d) repeat scroll 0 0;
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
    line-height: 18px;
    margin: 8px 6px;
    padding: 8px 5px;
    text-align: center;
    transition: all 0.2s ease 0s;
}

.fbAdBanner .actionButton.amend img {
    display: inline;
    margin-right: 0;
    width: 0;
}

.fbAdBanner .buttonContainer {
    min-width: 80px;
    position: absolute;
    right: 0;
    z-index: 4;
    border-collapse: collapse;
    border-spacing: 0;
}

.fbAdBanner .contentContainer {
    width: 198px;
    margin-left: 50px;
    padding-right: 4px;
    vertical-align: top;
}

.fbAdBanner .fbAdNonStoreLink {
    z-index: 2;
}

.fbAdBanner .cardContainer {
    box-sizing: border-box;
    color: #000;
    position: relative;
    width: 100%;
}

.fbAdBanner .card1 {
    -moz-animation: revolving 4s 0s infinite;
    -webkit-animation: revolving 4s 0s infinite;
    box-sizing: border-box;
    height: 50px;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

.fbAdBanner .cardContainer .title {
    color: #373e4d;
    font-size: 15px;
    font-weight: bold;
    line-height: 18px;
    overflow: hidden;
    padding: 8px 0 0 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fbAdBanner .cardContainer .rating {
    padding: 2px 0 0 3px;
}

.fbAdBanner .cardContainer .rating .full {
    color: orange;
}

.fbAdBanner .cardContainer .rating .star {
    font-size: 12px;
    font-weight: normal;
}

.fbAdBanner .cardContainer .rating .empty {
    color: antiquewhite;
}

.fbAdBanner .card2 {
    -moz-animation: revolving 4s 0s infinite;
    -webkit-animation: revolving 4s 0s infinite;
    box-sizing: border-box;
    height: 50px;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

.fbAdBanner .cardContainer .contextSentence {
    color: #4e5665;
    font-size: 11px;
    font-weight: normal;
    height: 12px;
    line-height: 12px;
    overflow: hidden;
    padding: 2px 0 0 4px;
}

.fbAdBanner .card3 {
    -moz-animation: revolving 4s 0s infinite;
    -webkit-animation: revolving 4s 0s infinite;
    box-sizing: border-box;
    height: 50px;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

.fbAdBanner .body {
    color: #4e5665;
    display: table-cell;
    font-size: 11px;
    height: 50px;
    line-height: 12px;
    max-height: 36px;
    overflow: hidden;
    padding-left: 4px;
    vertical-align: middle;
}


/**
 * 预览-instgram
 */

.instgramPreview {
    position: relative;
    width: 318px;
}

.instgramBg {
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
}

.instgramTitle {
    background-position: 0 0;
    height: 40px;
    width: 318px;
}

.instgramClearfix::after {
    clear: both;
    content: ".";
    display: block;
    font-size: 0;
    height: 0px;
    line-height: 0px;
    visibility: hidden;
}

.instgramWc {
    padding-left: 10px;
    position: relative;
    top: 2px;
}

.instgramWd {
    border: 0 none;
    border-radius: 33px;
    display: inline;
    height: 26px;
    margin-top: 1px;
    width: 26px;
}

.instgramWd2 {
    left: 44px;
    position: absolute;
    color: #141823;
    top: 2px;
}

.instgramWd6 {
    float: right;
    margin-right: 10px;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
    color: #125688;
    font-size: 12px;
    line-height: 24px;
}

.instgramZanzhu {
    background-position: -41px -41px;
    height: 5px;
    width: 9px;
    margin-bottom: 2px;
    margin-left: 4px;
    vertical-align: middle;
}

.instgramImg {
    display: block;
    position: relative;
    width: 318px;
    height: 167px;
}

.instgramHij {
    background-color: #fff;
    height: 120px;
    position: relative;
    width: 318px;
}

.instgramUi {
    border-bottom: 1px solid #e6e6e6;
    margin: 0 10px;
    padding: 10px 0;
    position: relative;
}

.instgramFoot1 {
    background-position: 0 -41px;
    width: 20px;
    height: 17px;
    display: inline-block;
    margin: 0 15px 0 1px;
}

.instgramFoot2 {
    background-position: -21px -41px;
    width: 19px;
    height: 17px;
    display: inline-block;
    margin: 0 15px 0 1px;
}

.instgramFootText {
    color: #34373b;
    font-size: 12px;
    height: 67px;
    letter-spacing: 0.5px;
    line-height: 15px;
    margin: 10px 10px 0;
    overflow: hidden;
}

.instgramCallToAction {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #009fdf;
    border-radius: 3px;
    color: #009fdf;
    font-size: 9px;
    line-height: 18px;
    margin-right: 1px;
    padding: 0 10px;
    white-space: nowrap;
}


/**
 * 预览图片
 */

.col-md-preview .preview-image-frame {
    width: 300px;
    height: 167px;
    text-align: center;
}

.col-md-preview img {
    width: 320px;
    height: 167px;
}

.preview-body {
    padding: 10px;
}

.col-md-preview .media-heading {
    font-size: 14px;
    font-weight: bold;
}

.preview-body img.media-object {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
}

.col-md-preview .media-body p {
    color: #9197a3;
    font-size: 12px;
}

.preview-body .panel {
    width: 322px;
    margin-bottom: 0;
}

.preview-body .panel .media {
    padding: 0 10px 0 10px;
}

.preview-body .panel-body {
    padding: 0;
}

.col-md-preview .btn-install {
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .07), inset 0 -1px 1px 0 rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .10) rgba(0, 0, 0, .155) rgba(0, 0, 0, .29);
    -webkit-appearance: none;
    background: none;
    font-size: 12px;
    cursor: default;
    height: 28px;
    line-height: 28px;
    overflow: visible;
    padding: 0 9px;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
    font-weight: bold;
    color: #4e5665;
    font-family: sans-serif;
}
